src = $(wildcard *.cpp) $(wildcard ./src/*.cpp)
inc = $(wildcard ./inc/*.h)

target = server

CC = g++
CFLAGS = -Wall -g 

$(target):$(src) $(inc)
	$(CC) $^ -o $@ $(CFLAGS) 


.PHONY:clean all
	clean:
		-rm -rf $(targets) 

